package org.example.DesignPatterns.Factory.OperationFactory;

/**
 * @description:
 * @author: farprt
 * @create: 2022-03-09 21:56
 **/
public class Operation {
    private double numberA=0;
    private double numberB=0;

    public double getNumberA() {
        return numberA;
    }

    public void setNumberA(double numberA) {
        this.numberA = numberA;
    }

    public double getNumberB() {
        return numberB;
    }

    public void setNumberB(double numberB) {
        this.numberB = numberB;
    }

    public double getResult() throws Exception {
        double result=0;
        return result;
    }
}